TapTree\WooCommerce\Payment\PaymentService A

Total Complexity 55
Dependencies 8
Dependents 2
Total lines 462
Lines of code 286
Logical lines of code 188
Comment lines 65
Methods 17
Properties 6

Methods 17

Method Rating Maintainability Complexity Lines of code
onPaymentGatewayWebhookCalled()
B
35 16 83
handle_payment_status_authorized()
A
44 7 45
checkSignature()
S
55 6 19
handle_payment_status_paid()
S
52 4 23
handle_payment_status_expired()
S
56 3 17
getPaymentMethodDetails()
S
64 3 9
walletName()
S
71 3 6
handle_payment_status_canceled()
S
58 2 14
paymentBrandName()
S
58 1 16
handle_payment_WOO_STATUS_COMPLETED()
S
66 2 8
getPaymentMethodName()
S
69 2 7
isFinalOrderStatus()
S
63 1 11
handle_payment_status_failed()
S
64 1 9
respondAndLog()
S
75 1 4
handle_payment_status_partially_captured()
S
78 1 3
setGateway()
S
77 1 4
__construct()
S
66 1 8